home *** CD-ROM | disk | FTP | other *** search
/ JCSM Shareware Collection 1993 November / JCSM Shareware Collection - 1993-11.iso / cl460 / scuj.lzh / SCU.DOC < prev    next >
Encoding:
Text File  |  1992-01-16  |  9.6 KB  |  216 lines

  1.  
  2.  
  3.  
  4.         What's a Substitution Cipher?     
  5.         
  6.         A simple substitution cipher is one in which, for example, all 
  7.         the A's in the plaintext are replaced by R's, and all the B's are 
  8.         replaced by L's, and so on - so that no letter in the cipher text 
  9.         represents itself, and each letter in the ciphertext represents 
  10.         only one letter of plaintext. For example, if you see an X in the 
  11.         cipher text, you can be sure it can't stand for X in the plain-
  12.         text;  furthermore, if you determine that the X stands for a 
  13.         plaintext E, you can be sure that no other ciphertext letter also 
  14.         represents E.    
  15.         
  16.         Ciphertext     
  17.         
  18.         So where do you get the ciphertext to solve?  Of course books and 
  19.         newspapers are good sources.  And, if you want to generate your 
  20.         own ciphertext you can use the stand-alone program, ENC.EXE.  It 
  21.         transforms its plaintext standard input into ciphertext standard 
  22.         output. You can use DOS redirection and an input file; or type 
  23.         the plaintext in from the console (ending with F6). 
  24.         
  25.         i.e.:    
  26.         for file input:
  27.         
  28.         ENC <PLAIN.TXT >CIPHER.TXT
  29.         
  30.         for console input:
  31.          
  32.         ENC >CIPHER.TXT
  33.         
  34.         See your DOS manual for more about redirection.    
  35.         
  36.         HELP     
  37.         
  38.         Help Mode displays information on how to use SCU.  Help Mode is 
  39.         activated by pressing the F1 function key.  When Help Mode is 
  40.         active, the following keys perform certain functions:       
  41.         
  42.         The ESCAPE key exits Help Mode, taking you back to SCU's Main 
  43.         Screen.  If there are multiple pages on a particular topic, 
  44.         PAGEDOWN or PAGEUP brings up the next or previous help page.  
  45.         
  46.         If there is at least one keyword on a page of help information, 
  47.         the ENTER key will cause a new help page, containing information 
  48.         about the keyword the cursor is on, to be displayed.  If there 
  49.         are multiple keywords on a page, the ARROW keys will move the 
  50.         cursor to the various keywords so that they can be selected by 
  51.         the ENTER key.        
  52.         
  53.         The Alt-F1 key combination brings back the previously displayed 
  54.         help page.  Repeatedly pressing this key combination allows you 
  55.         to backtrack through the last 20 help pages you've seen.   
  56.         
  57.         The F1 key takes you back to the Help Index.         
  58.  
  59.  
  60.  
  61.  
  62.         The CTRL-F1 key combination displays a summary of applicable 
  63.         keystrokes in Help Mode.  
  64.         
  65.         Keywords  
  66.         
  67.         Many help pages are displayed with certain words highlighted. 
  68.         These are topics about which SCU Help Mode has further informa-
  69.         tion.  A press of the ENTER key brings up a new help page with 
  70.         information on the selected keyword.  If a help page has more 
  71.         than one key word, the selected keyword (the one about which more 
  72.         info will be displayed by a press of the ENTER key) is displayed 
  73.         in a block.  Other keywords on the help page are merely high-
  74.         lighted. You can select a different keyword on the page via the 
  75.         Arrow keys:
  76.          
  77.         RIGHTARROW or DOWNARROW select the next keyword; 
  78.         LEFTARROW or UPARROW the previous one.        
  79.         
  80.         Invoking SCU          
  81.         
  82.         To run this program, simply type SCU at the DOS command line.  
  83.         SCU will prompt you to enter the ciphertext; you can enter up to 
  84.         240 characters of ciphertext including spaces and punctuation.  
  85.         Use the ENTER key to start a new line if the ciphertext is too 
  86.         long for one line.  DOS will wrap-around and accept lines of up 
  87.         to 128 chars, but won't accept keystrokes after that, so hit   
  88.         ENTER at least every line and a half.  You can use DOS's line 
  89.         editing keys (eg BackSpace) while typing.  Enter a blank line 
  90.         (hit ENTER twice) to signal the end of the input.  Alternatively, 
  91.         you can use your text editor, or DOS's COPY CON: FILENAME command 
  92.         to create a file containing the ciphertext.  Then, run the prog-  
  93.         ram by typing SCU FILENAME and your ciphertext in the file FILE-
  94.         NAME will automatically be loaded.  FILENAME can be any valid DOS 
  95.         filename.  SCU has one switch which specifies the path of the 
  96.         WordFind Dictionary file.  If SCU is in the same subdirectory as 
  97.         the WordFind file, this switch doesn't have to be specified.  
  98.         However, if WordFind is in a subdirectory different from the one 
  99.         SCU is in, you must specify the different path via the command 
  100.         line switch so that SCU will be able to find the WordFind    
  101.         dictionary file.  The full format, then, is:         
  102.         
  103.         SCU -pPATHNAME CIPHER.TXT        
  104.         
  105.         For example, SCU -p\GAME\WF CTEXT 
  106.         
  107.         specifies that \GAME\WF will be searched and the ciphertext file 
  108.         is CTEXT.  Put any switch options before the ciphertext filename.  
  109.         Of course, it would be tedious to invoke SCU that way every time, 
  110.         so you could set up a batch file, say SC.BAT, containing, for 
  111.         example:      
  112.         
  113.         SCU -p\games\wf %1     
  114.         
  115.         and then run it thusly: 
  116.  
  117.  
  118.  
  119.  
  120.         SC CTEXT     
  121.         
  122.         See your DOS manual for more about batch files.      
  123.         
  124.         SCU's Main Screen   
  125.         
  126.         After invoking SCU, you'll see the top portion of the screen is 
  127.         devoted to the ciphertext and its solution.  SCU can handle up to 
  128.         240 characters of ciphertext including spaces and punctuation. 
  129.         Each 80 chars of the ciphertext entered results in a group of 
  130.         three lines: The bottom line is the ciphertext as entered; it's 
  131.         in lower case; this line never changes. The middle line is the 
  132.         plaintext only; it's in uppercase.  The top line of the group is 
  133.         the plaintext in uppercase mixed with the ciphertext in lower-
  134.         case.  The middle portion of the screen shows the count of the 
  135.         ciphertext letters and the letters you have substituted.  Remem-
  136.         ber, the most commonly used letters in English (in order) are:
  137.         
  138.         ETAION SHRDLU     
  139.         
  140.         The bottom line of the screen shows the results of pressing 
  141.         particular function keys.       
  142.         
  143.         Function Keys         
  144.         
  145.         F1 brings up the first Help page - the Help Index.  From there, 
  146.         by selecting keywords, you can bring up information about certain 
  147.         aspects of SCU.     
  148.         
  149.         F2 is the UnDo key.  SCU remembers your substitutions into the 
  150.         ciphertext and undoes the most recent one with each press of the 
  151.         F2 key.  By repeatedly pressing F2 you can undo all your     
  152.         substitutions. 
  153.         
  154.         F3 allows you to shell to DOS. There you can run another program, 
  155.         presumably one which would aid in solving the ciphertext. This 
  156.         takes about 180k memory, plus the size of the program you run. To 
  157.         return to SCU, get back to the DOS command level and type EXIT.         
  158.         
  159.         F4 spawns WordFind. You will be prompted to select the word to 
  160.         find; words matching the target word will appear in the WordFind 
  161.         window.  Pressing any key will stop/start the scrolling.  Be 
  162.         prepared to wait awhile if you select a target like ?????E? (a 
  163.         zillion words match it).
  164.         
  165.         F5 displays statistics reflecting the results of your efforts so 
  166.         far. The percentage figure is the ratio of the minimum number of 
  167.         substitutions required to solve the ciphertext compared to the   
  168.         actual number of substitutions made.  No percentage is displayed 
  169.         until you've made at least the minimum number of substitutions.  
  170.         The time displayed is the time elasped beginning from the first 
  171.         substitution.         
  172.         
  173.         F6 toggles the sound on and off.  
  174.  
  175.  
  176.  
  177.  
  178.         F8 loads a new puzzle file.  
  179.         
  180.         F10 returns you to DOS.    
  181.         
  182.         WordFind  
  183.         
  184.         WordFind is a stand-alone shareware program that finds words 
  185.         which match a template. For example, if you know the word has 5 
  186.         letters, with the 1st and 4th letters being S and the 5th an E 
  187.         (S??SE) WordFind reports SENSE and SOUSE as matches. In SCU the 
  188.         template might look like SqxSE, with the ciphertext in lowercase 
  189.         and the plaintext in uppercase.        
  190.         
  191.         For more information on WordFind contact:
  192.         
  193.         Castle Oaks Computer Services  
  194.         P.O. Box 36082    
  195.         Indianapolis, IN 46236-0082         
  196.         317-823-6366
  197.         
  198.         SCU - Copyright (c) 1990, LeJac Marketing.   All rights reserved.         
  199.         
  200.         You can contact LeJac at:         
  201.         
  202.         LeJac Marketing  
  203.         3199 N. 800 West-Han        
  204.         Greenfield, IN 46140        
  205.         
  206.         If you are using a non-registered copy of SCU, you should send in 
  207.         the registration fee of $10.00 to either of the above two ad-
  208.         dresses.
  209.  
  210. Attention International customers: The above registration fee is to be
  211. paid in U. S. Dollars, preferably by International Money Order.  In 
  212. addition to the registration fee, include $2.00 to cover additional
  213. postage that is required.   
  214.  
  215.  
  216.